package com.spica.platform.uaa.client.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.spica.platform.base.model.Client;
import com.spica.platform.base.model.PageResult;
import com.spica.platform.base.model.ResponseEntity;
import com.spica.platform.uaa.client.model.ClientQueryParam;

public interface IClientService extends IService<Client> {
	
    ResponseEntity saveClient(Client clientDto) throws Exception;

    /**
     * 查询应用列表
     */
    PageResult<Client> listClient(Page<Client> page, ClientQueryParam clientQueryParam);

    boolean delClient(long id);

    Client loadClientByClientId(String clientId);
}
